<!DOCTYPE html>
<meta charset="UTF-8">
<div style="margin: 10px 0;">
	<span>显示秒: </span>
	<input type="checkbox" checked onchange="$('#dt').datetimebox({showSeconds:$(this).is(':checked')})">
</div>
<div style="width: 200px;">
	<input id="dt" data-type="datetimebox" data-define="border:true,'width':200"></input>
</div>
